<template>
  <div class="home-btn" @click="nav" >
    <img style="height: 50px;height: 50px;margin-top: 10px" src="@/assets/icon-home.png" />
  </div>
</template>
<script>
import sessionStorage from "@/utils/session-storage";
export default {
  name:"home-btn",
  props:{
    params:{
      type:Object,
      default:null
    }
  },
  data(){
    return {

    }
  },
  methods:{
    nav(){
      this.$router.push({path:"/"})
    }
  }
}
</script>

<style lang="scss" scoped>
.home-btn{

  width: 70px;
  height: 70px;
  background-color: rgba(64,149,229,1);
  border: 1px solid rgba(187,187,187,1);
  position: fixed;

  right: 20px;
  top: 100px;
  border-radius: 35px;
  text-align: center;
  line-height: 62px;
  font-weight: bolder;
  font-size: 30px;
  color: white;
  cursor: pointer;
  z-index: 10000;

}
</style>
